package com.agileai.bpm.bizmoduler.define;

import java.util.List;

import com.agileai.domain.DataParam;
import com.agileai.domain.DataRow;
import com.agileai.hotweb.bizmoduler.core.StandardService;

public interface WfProcessManage extends StandardService{
	public void updatePorcessDefine(String processId,String processXML,String processJSON);
	
	public void createActivity(String processId,String activityId,String activityCode,String activityType);
	public void createTransition(String processId,String transitionId,String transitionCode,String fromActivityId,String toActivityId);
	
	public void deleteActivity(String processId,String activityId,List<String> transitionIds);
	public void deleteTransition(String processId,String transitionId);
	
	public List<DataRow> findRunningActivityList(String processInstanceId);
	
	public List<DataRow> queryDidWorkList(String seqId,String type);
	public List<DataRow> queryDoingWorkList(String seqId,String type);

	public DataRow getStrRecord(DataParam queyrParam1);
}
